package com.onlyphoto.onlymall.mvp.contract

import com.onlyphoto.onlymall.base.IBasePresenter
import com.onlyphoto.onlymall.base.IBaseView
import com.onlyphoto.onlymall.bean.request.GoodsCondition
import com.onlyphoto.onlymall.bean.response.GoodsBean
import com.onlyphoto.onlymall.bean.response.Rotation
import com.onlyphoto.onlymall.bean.response.SingleActivityBean


interface CHomePage {

    interface IPHomePage : IBasePresenter {
        fun requestRotation()
        fun requestActivitySingle(use_range: Int, range_cat1_id: Int)
        fun requestGoods()
    }

    interface IVHomePage : IBaseView {
        fun requestRotationSuccess(list: ArrayList<Rotation>)
        fun requestActivitySingleSuccess(bean: SingleActivityBean)
        fun requestGoodsSuccess(list: ArrayList<GoodsBean>)
        fun setCondition() : GoodsCondition
    }
}
